package com.frost.demo1;

public class TestDemo {

    public static void main3(String[] args) {
        Student student = new Student("frost",10,58);
        Student.classes = "Java班";
        System.out.println(student);
    }

    public static void main(String[] args) {
        Student student = null;
        student.classes = "Java班";
        System.out.println(student.classes);
        //System.out.println(classes);
    }

    public static void main1(String[] args) {
        Student student1 = new Student("frost",20,78.5);
        Student.classes = "Java班";
        System.out.println(student1);
        Student.func();

    }
}
